aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/[username]
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-10-03 15:21:33 -0700
committerAdam Soltys <[email protected]>2022-10-03 15:21:33 -0700
commit9c38b036c1cf50b73830ca4a4434b9863ccc7533 (patch)
treefecf7dab87b5da0740933e4b12f3be727b0fa739 /src/routes/[username]
parentfb435bf506edd81595723ec6e4ffc162ce9fd57a (diff)
downloadcoinos-ui-9c38b036c1cf50b73830ca4a4434b9863ccc7533.tar.gz
coinos-ui-9c38b036c1cf50b73830ca4a4434b9863ccc7533.zip
send amount confirmation
Diffstat (limited to 'src/routes/[username]')
-rw-r--r--src/routes/[username]/dashboard/+page.svelte19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/routes/[username]/dashboard/+page.svelte b/src/routes/[username]/dashboard/+page.svelte
index 55fe69ee..1e55867d 100644
--- a/src/routes/[username]/dashboard/+page.svelte
+++ b/src/routes/[username]/dashboard/+page.svelte
@@ -71,14 +71,17 @@
>
<div class="grid sm:grid-cols-2 gap-2 mt-8">
- <button
- class="rounded-full border py-2 px-5 font-bold hover:opacity-80 text-xl w-full mb-2"
- on:click={() => goto(`/${user.username}/receive`)}>{$t('user.dashboard.receive')}</button
- >
- <button
- class="rounded-full border py-2 px-5 font-bold hover:opacity-80 text-xl w-full mb-2"
- on:click={() => goto('/send')}>{$t('user.dashboard.withdraw')}</button
- >
+ <a href={`/${user.username}/receive`}>
+ <button class="rounded-full border py-2 px-5 font-bold hover:opacity-80 w-full mb-2"
+ >{$t('user.dashboard.receive')}</button
+ >
+ </a>
+ <a href="/send">
+ <button
+ class="rounded-full border py-2 px-5 font-bold hover:opacity-80 w-full mb-2"
+ on:click={() => goto('/send')}>{$t('user.dashboard.withdraw')}</button
+ >
+ </a>
</div>
</div>
</div>